package com.qf.mapper;

import com.qf.entity.Emp;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface EmpMapper {
    //增加操作
    int addEmp(Emp emp);

    int deleteEmp(String ename);

    int updateEmp(Emp emp);

    Emp queryEmp(String ename);

    List<Emp> listByMap(Map<String, String> map);
}
